<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Window-target" content="_top">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>留言-[[${#params.value("website_logo_words")}]]</title>
    <!-- InstanceEndEditable -->
	<meta name="Author" th:content='${#params.value("author_name")}'>
	<meta name="Copyright" th:content='${#params.value("author_name")}'>
	<meta name="keywords" th:content='${#params.value("key_word")}' />
	<meta name="description" th:content='${#params.value("website_info_title")}'/>


	<link href="/css/loading.css" rel="stylesheet" />
	<link href="/css/scroll-bar.css" rel="stylesheet" />
	<link href="/Eextend/layui/css/layui.css" rel="stylesheet" media="all" />
	<link href="/css/common.css" rel="stylesheet" />
	<link href="/css/suspension.css" rel="stylesheet" />
	<link href="/css/animate.css" rel="stylesheet" />
	<link href="/Eextend/iconfont/iconfont.css" rel="stylesheet" />
	<script src="/Eextend/iconfont/iconfont.js"></script>
	<script src="/js/jquery.min.js"></script>
	<script src="/Eextend/layui/layui.js"></script>
	<script src="/js/wow.min.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <!--
               ▄              ▄
              ▌▒█           ▄▀▒▌
              ▌▒▒▀▄        ▀▒▒▒▐
             ▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐
           ▄▄▀▒▒▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐
         ▄▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█▒▒▒▒▒▐
        ▐▒▒▒▄▄▄▒▒▒▒▒▒▒▒▒▒▒▒▒▀▄▒▒▌
        ▌▒▒▐▄█▀▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐
       ▐▒▒▒▒▒▒▒▒▒▒▒▌██▀▒▒▒▒▒▒▒▒▀▄▌
       ▌▒▀▄██▄▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
       ▌▀▐▄█▄█▌▄▒▀▒▒▒▒▒▒░░░░░░▒▒▒▐
      ▐▒▀▐▀▐▀▒▒▄▄▒▄▒▒▒  typecho  ▒▌
      ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒░░░░░░▒▒▒▐
       ▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒▒▒░░░░▒▒▒▒▌
       ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐
        ▀ yo-du ▒▒▒▒▒▒▒▒▒▒▒▄▒▒▒▒▌
          ▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀
         ▐▀▒▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀
        ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀▀

        --你好，世界！生活，从敲的第一行代码开始。
    -->
<div id="loading">
        <div id="loading-center">
            <div id="loading-center-absolute">
                <div class="object" id="object_four"></div>
                <div class="object" id="object_three"></div>
                <div class="object" id="object_two"></div>
                <div class="object" id="object_one"></div>
            </div>
        </div>
    </div>
	<div th:replace="/common/fragment :: frontendHeadher"></div>
<!--<section class="bg-overlay layui-hide">-->
        <!--<div class="overlay"></div>-->
        <!--<div class="layui-row text py-5">-->
            <!--<p class="lead">Keep on going never give up.</p>-->
            <!--<h1>-->
                <!--我为你翻山越岭，却无心看风景-->
            <!--</h1>-->
            <!--<a href="#welcome" class="layui-btn layui-btn-normal layui-btn-radius layui-btn-lg">Let's Go</a>-->
        <!--</div>-->
    <!--</section>-->
    <section class="container">
		<!-- InstanceBeginEditable name="EditRegion1" -->
		
		<link href="/css/side-bar.css" rel="stylesheet" />
		<link href="/css/comment.css" rel="stylesheet" />
		<link href="/css/MessageBoard.css" rel="stylesheet" />

		<div th:replace="/common/fragment :: frontendAboutNav"></div>
		
		<div class="message-board">
			<div class="layui-container">
				<div class="message-edit">
					<fieldset class="layui-elem-field layui-field-title wow fadeInLeftBig">
						<legend class="text-center">留言板</legend>
						<div class="layui-field-box">
							<div class="replycontainer" style="display: none;padding: 10px;">
								<div class="layui-form blog-editor" lay-filter="formReply">
									<textarea name="replay-input" id="replay-input" placeholder="请输入内容" class="layui-textarea layui-hide"></textarea>
									<button type="button" class="layui-btn" id="replyBtn" shiro:user="" >提交</button>
								</div>
							</div>

							<div class="layui-form blog-editor">
								<div class="layui-form-item">
									<textarea name="comment-input" id="comment-input" placeholder="请输入内容" class="layui-textarea layui-hide"></textarea>
								</div>
								<div class="layui-form-item">

									<button th:if='${#params.value("is_open_message") == "1"}' type="button" class="layui-btn" id="commentBtn" shiro:user="" >提交留言</button>
									<a  th:if='${#params.value("is_open_message") == "1"}' shiro:guest="" class="layui-btn layui-btn-danger"  id="beforeLogin"><i class="fa fa-qq"></i> 请先登录</a>

									<blockquote th:if='${#params.value("is_open_message") == "0"}' class="layui-elem-quote" th:utext="${#params.value('message_panel_words')}">

									</blockquote>

								</div>
							</div>
						</div>
					</fieldset>
				</div>
				<hr />
				<div class="message wow fadeInRightBig">  
					<!-- 评论列表 -->
					<ul class="blog-comment">
						<li th:each="item:${comments}">
							<div class="comment-parent">
								<a href="javaScript:void(0)"><img th:src="${item.img}" alt="" /></a>
								<div class="info">
									<span class="username"><a href="javaScript:void(0)">[[${item.replyName}]]</a></span>
									<!--<span class="layui-badge layui-bg-orange">博主</span>-->
								</div>
								<div class="content comment-text" th:utext="${item.content}">>

								</div>
								<p class="info info-footer">
								<span class="aux-word">
									<i class="layui-icon layui-icon-log"></i>[[${item.time}]]
								</span>
									<span class="aux-word">
									<i class="layui-icon layui-icon-location"></i>[[${item.address}]]
								</span>
									<span class="aux-word">
									<i class="layui-icon layui-extend-liulanqi"></i>[[${item.browse}]]
								</span>
									<a shiro:user=""  th:if='${#params.value("is_open_message") == "1"}' class="btn-reply" href="javascript:void (0);" th:attr="data-id=${item.id},data-name=${item.replyName},data-levelId=${item.id}" >回复</a>
								</p>

							</div>
							<hr />
							<div class="comment-child" th:each="it:${item.replyBody}">
								<a href="javaScript:void(0)"><img th:src="${it.img}" alt="" /></a>
								<div class="info">
									<span class="username"><a href="javaScript:void(0)">[[${it.replyName}]]</a></span>
									<span>回复<a href="javaScript:void(0)" class="to-username">@[[${it.beReplyName}]]</a>：</span>
									<span class="comment-text" th:utext="${it.content}"></span>
								</div>
								<p class="info">
								<span class="aux-word">
									<i class="layui-icon layui-icon-log"></i>[[${it.time}]]
								</span>
									<span class="aux-word">
									<i class="layui-icon layui-icon-location"></i>[[${it.address}]]
								</span>
									<span class="aux-word">
									<i class="layui-icon layui-extend-liulanqi"></i>[[${it.browse}]]
								</span>
									<a  shiro:user=""  th:if='${#params.value("is_open_message") == "1"}' class="btn-reply" href="javascript:void (0);" th:attr="data-id=${it.id},data-name=${it.replyName},data-levelId=${item.id}" >回复</a>
								</p>

							</div>
						</li>
					</ul>
					<!--<div id="page"></div>-->
				</div>
			</div>
		</div>
		
		<script src="/js/side-bar.js"></script>
		<script src="/js/MessageBoard.js"></script>
		
		
		
		
		
		
		<!-- InstanceEndEditable -->    
    </section>
	<div th:replace="/common/fragment :: frontendFooter"></div>
	<div th:replace="/common/fragment :: frontendLongin"></div>
    <!-- 打字机特效js-->
<script src="/js/typewriter-special-effects.js"></script>
<script src="/js/Template.js"></script>
<!-- 这个JS展示公告层用的，无关紧要可以删掉。 -->
<!--<script src="js/TempShowTip.js"></script>-->
</body>
<!-- InstanceEnd --></html>